package com.ubireality.service.resource;

import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;

import java.util.HashSet;
import java.util.Set;

@ApplicationPath("/services")
public class ApplicationRoot extends Application
{
   private Set<Object> singletons = new HashSet<Object>();
   private Set<Class<?>> classes = new HashSet<Class<?>>();

   public ApplicationRoot()
   {
//      singletons.add(new UserResource());
      classes.add(GameStageResource.class);
      classes.add(UserResource.class);

   }

   @Override
   public Set<Object> getSingletons()
   {
      return singletons;
   }

   @Override
   public Set<Class<?>> getClasses()
   {
      return classes;
   }
}